﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace WebApi.Models
{
    /// <summary>
    /// 议题表
    /// </summary>
    [SugarTable("TbTopic")]
    public class TopicModel
    {

        [SugarColumn(ColumnName = "pkId", IsPrimaryKey = true)]
        public int Code { get; set; }

        /// <summary>
        /// 会议外键   对应tbMeeting表中第三方标识
        /// </summary>
        [SugarColumn(ColumnName = "fkMeeting")]
        public string FkMeeting { get; set; }

        /// <summary>
        /// 议题名称   
        /// </summary>
        [SugarColumn(ColumnName = "sTopicName")]
        public string STopicName { get; set; }

        /// <summary>
        /// 参与人    多个以‘|’分割
        /// </summary>
        [SugarColumn(ColumnName = "sJoinMans")]
        public string SJoinMans { get; set; }

        /// <summary>
        /// 创建时间   
        /// </summary>
        [SugarColumn(ColumnName = "tCreate")]
        public DateTime TCreate { get; set; }

        /// <summary>
        /// 第三方id 第三方会议议题唯一标识   
        /// </summary>
        [SugarColumn(ColumnName = "sOriginId")]
        public string SOriginId { get; set; }

        /// <summary>
        /// 议题状态    对应码值（已召开-1、当前进行中-2、下一议题-3、未召开-4）
        /// </summary>
        [SugarColumn(ColumnName = "sTopicState")]
        public string STopicState { get; set; }


    }
}
